<template>
  <el-card>
    <!-- 标题 -->
    <template #header>
      <h3>订单统计</h3>
    </template>
    <!-- 统计表 -->
    <Chart :CardName="ordercher" @updatePage="getCher" />
  </el-card>
</template>

<script>
import Chart from '../../components/Charts/Index'
import orderData from './js/orderData'
export default {
  components: {
    Chart
  },
  data() {
    return {
      ordercher: 'ordercher',
      orderData,
      orderlist: {}
    }
  },
  methods: {
    getCher(obj) {
      // console.log(obj)
      this.orderlist = obj
    }
  }
}
</script>

<style lang="less" scoped></style>
